import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {OrdOrderLogisticsComponent} from './ord-order-logistics.component';

const routes: Routes = [
    {path: '', component: OrdOrderLogisticsComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-ord-order-logistics/add-ord-order-logistics.module#AddOrdOrderLogisticsModule'},
            {path: 'list', loadChildren: './list-ord-order-logistics/list-ord-order-logistics.module#ListOrdOrderLogisticsModule'},
            {path: 'modify', loadChildren: './modify-ord-order-logistics/modify-ord-order-logistics.module#ModifyOrdOrderLogisticsModule'},
            {path: 'report', loadChildren: './report-ord-order-logistics/report-ord-order-logistics.module#ReportOrdOrderLogisticsModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class OrdOrderLogisticsRoutingModule {
}
